package org.lwd.datalink.domain.relationship;

import lombok.Getter;
import lombok.Setter;

import java.util.HashSet;
import java.util.Set;
import java.util.TreeSet;

/**
 * @Author: weidong.lin
 */
@Getter
@Setter
public class SqlCheckTree {
    private String tableName;
    private SyncNode rootNode;
    private SqlExeDirection sqlExeDirection;
    private Set<SqlCheckNote> sqlCheckNotes;

    public SqlCheckTree() {
        this.sqlCheckNotes = new HashSet<>();
    }

    public SqlCheckTree(SyncNode rootNode, String tableName) {
        this.rootNode = rootNode;
        this.tableName = tableName;
        this.sqlCheckNotes = new TreeSet<>();
    }
}
